﻿using System.ComponentModel.DataAnnotations;
using EPiServer.DataAnnotations;
using EPiServer.XForms;

namespace StarterKit.Web.Models.Blocks
{
    /// <summary>
    /// Used to insert an XForm
    /// </summary>
    [ContentType(
        DisplayName = "Form Block",
        Description = "Form Block Description",
        GroupName = "Default",
        Order = 100)]
    public class FormBlockData : BaseBlockData
    {
        [Display(
            Order = 1)]
        [CultureSpecific]
        public virtual string Heading { get; set; }

        [Display(
            Order = 2)]
        [CultureSpecific]
        public virtual XForm Form { get; set; }
    }
}